package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:通用附件 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:zhz
 * 创建时间:2015-07-14 15:48:04
 */
 @ITable(name="glFile",code="skg_gl_file")
public class GlFileTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*主键*/
	@IField(name="fileName",column="file_name_")
	protected String  fileName; 		/*源文件名*/
	@IField(name="cloudPath",column="cloud_path_")
	protected String  cloudPath; 		/*云路径*/
	@IField(name="byteCount",column="byte_count_")
	protected Integer  byteCount; 		/*总字节数*/
	@IField(name="ext",column="ext_")
	protected String  ext; 		/*扩展名*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 主键
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setFileName(String fileName) 
	{
		this.fileName = fileName;
	}
	/**
	 * 返回 源文件名
	 * @return
	 */
	public String getFileName() 
	{
		return this.fileName;
	}
	public void setCloudPath(String cloudPath) 
	{
		this.cloudPath = cloudPath;
	}
	/**
	 * 返回 云路径
	 * @return
	 */
	public String getCloudPath() 
	{
		return this.cloudPath;
	}
	public void setByteCount(Integer byteCount) 
	{
		this.byteCount = byteCount;
	}
	/**
	 * 返回 总字节数
	 * @return
	 */
	public Integer getByteCount() 
	{
		return this.byteCount;
	}
	public void setExt(String ext) 
	{
		this.ext = ext;
	}
	/**
	 * 返回 扩展名
	 * @return
	 */
	public String getExt() 
	{
		return this.ext;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("fileName", this.fileName) 
		.append("cloudPath", this.cloudPath) 
		.append("byteCount", this.byteCount) 
		.append("ext", this.ext) 
		.append("createTime", this.createTime) 
		.toString();
	}
}